﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navigation;

namespace Fayshine.VA.Views
{
    public partial class Test3 : Page
    {
        public Test3()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(Test3_Loaded);
        }

        void Test3_Loaded(object sender, RoutedEventArgs e)
        {
            List<Customer> cust = new List<Customer>();
            cust.Add(new Customer() { Time = "00:00", Number = 1065 });
            cust.Add(new Customer() { Time = "01:00", Number = 2066 });
            cust.Add(new Customer() { Time = "02:00", Number = 3298 });
            cust.Add(new Customer() { Time = "03:00", Number = 4447 });
            cust.Add(new Customer() { Time = "05:00", Number = 5609 });
            cust.Add(new Customer() { Time = "06:00", Number = 6668 });
            cust.Add(new Customer() { Time = "07:00", Number = 7754 });
            cust.Add(new Customer() { Time = "08:00", Number = 51880 });
            cust.Add(new Customer() { Time = "09:00", Number = 53114 });
            cust.Add(new Customer() { Time = "10:00", Number = 54361 });
            cust.Add(new Customer() { Time = "11:00", Number = 55557 });


            List<Customer> cust2 = new List<Customer>();
            cust2.Add(new Customer() { Time = "00:00", Number = 738 });
            cust2.Add(new Customer() { Time = "01:00", Number = 1475 });
            cust2.Add(new Customer() { Time = "02:00", Number = 2184 });
            cust2.Add(new Customer() { Time = "03:00", Number = 2828 });
            cust2.Add(new Customer() { Time = "05:00", Number = 3574 });
            cust2.Add(new Customer() { Time = "06:00", Number = 4355 });
            cust2.Add(new Customer() { Time = "07:00", Number = 5010 });
            cust2.Add(new Customer() { Time = "08:00", Number = 32261 });
            cust2.Add(new Customer() { Time = "09:00", Number = 33034 });
            cust2.Add(new Customer() { Time = "10:00", Number = 33818 });
            cust2.Add(new Customer() { Time = "11:00", Number = 34512 });


            List<Customer> cust3 = new List<Customer>();
            cust3.Add(new Customer() { Time = "00:00", Number = 327 });
            cust3.Add(new Customer() { Time = "01:00", Number = 591 });
            cust3.Add(new Customer() { Time = "02:00", Number = 1114 });
            cust3.Add(new Customer() { Time = "03:00", Number = 1619 });
            cust3.Add(new Customer() { Time = "05:00", Number = 2035 });
            cust3.Add(new Customer() { Time = "06:00", Number = 2313 });
            cust3.Add(new Customer() { Time = "07:00", Number = 2744 });
            cust3.Add(new Customer() { Time = "08:00", Number = 19619 });
            cust3.Add(new Customer() { Time = "09:00", Number = 20110 });
            cust3.Add(new Customer() { Time = "10:00", Number = 20643 });
            cust3.Add(new Customer() { Time = "11:00", Number = 21054 });


            A a = new A();
            a.AA = cust;
            a.BB = cust2;
            a.CC = cust3;

            this.DataContext = a;
        }

        // Executes when the user navigates to this page.
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
        }

    }
}
